;;
;; @File   le-emacs-pandoc.el
;; @Author Gan XiangLe
;; @Date   2011/10/28
;; @update 2011/12/23
;; @Usage  Add pandoc-mode.el to load path, load this config file.
;;         pandoc-mode is implemented as a minor mode that can be activated 
;;         alongside the major mode. 
;; @See    Pandoc-mode: http://user.uni-frankfurt.de/%7Ekremers/pandoc-mode.html
;;         Pandoc:      http://johnmacfarlane.net/pandoc/
;; @in     EMACS-DIR, a path string of emacs directory that contains le_plugins/
;;         and le_emacs_conf/

(defvar le-pandoc-path
  (concat EMACS_DIR "le_plugins/pandoc/"))

(add-to-list 'load-path le-pandoc-path)

;; must run M-x pandoc-mode to activate pandoc mode.
(require 'pandoc-mode)

;; the following lines to your .emacs file to associate pandoc-mode
;; with ".md" files:
;(autoload 'pandoc-mode "pandoc-mode.el"
;  "Major mode for editing pandoc files" t)
;(setq auto-mode-alist
;      (cons '("\\.md" . pandoc-mode) auto-mode-alist))
